﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NG
{
    class Department
    {
        protected int mDepNum;
        protected string mDep;
        //protected string mSubDep;

        public Department(int dnum, string dep)
        {
            this.mDepNum = dnum;
            this.mDep = dep;
        }

        public Department(Department olddep)
        {
            this.mDep = olddep.mDep;
            this.mDepNum = olddep.mDepNum;
        }

        public int DepNum
        {
            get
            {
                return this.mDepNum;
            }
        }

        public string Dep
        {
            get 
            {
                return this.mDep;
            }
        }

        public override string ToString()
        {
            return mDepNum + ":" + mDep;
        }
        //public string SubDep
        //{
        //    get
        //    {
        //        return this.mSubDep;
        //    }
        //}



    }
}
